package com.yehuishou.pojo;

import java.io.Serializable;
import java.util.Date;


//回收商品表
public class BackItem  implements Serializable{
	
	private Integer id;
	private String bname;//商品名称
	private Integer cid;//商品分类
	private Integer pid;//品牌id
	private Integer uid;//用户id
	private  Integer mid;//型号id
	private Date backtime;//回收时间
	private Date updatetime;//更新时间
	private String marque;//商品型号
	private Date buytime;//购买时间
	private String descrip;//商品描述
	private Double backprice;//回收价格
	private String img_url;//商品图片
	private Integer stocknum;//商品库存；
	
	private Integer backstatus;//商品状态
	
	private  String  model; //商品型号名称
	
	private String brandname; //商品品牌名称
	
	private String classifyname;//类别名称；

	public BackItem() {
		super();
		// TODO Auto-generated constructor stub
	}

	public BackItem(Integer id, String bname, Integer cid, Integer pid, Integer uid, Integer mid, Date backtime,
			Date updatetime, String marque, Date buytime, String descrip, Double backprice, String img_url,
			Integer stocknum, Integer backstatus, String model, String brandname, String classifyname) {
		super();
		this.id = id;
		this.bname = bname;
		this.cid = cid;
		this.pid = pid;
		this.uid = uid;
		this.mid = mid;
		this.backtime = backtime;
		this.updatetime = updatetime;
		this.marque = marque;
		this.buytime = buytime;
		this.descrip = descrip;
		this.backprice = backprice;
		this.img_url = img_url;
		this.stocknum = stocknum;
		this.backstatus = backstatus;
		this.model = model;
		this.brandname = brandname;
		this.classifyname = classifyname;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getBname() {
		return bname;
	}

	public void setBname(String bname) {
		this.bname = bname;
	}

	public Integer getCid() {
		return cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public Integer getPid() {
		return pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public Integer getMid() {
		return mid;
	}

	public void setMid(Integer mid) {
		this.mid = mid;
	}

	public Date getBacktime() {
		return backtime;
	}

	public void setBacktime(Date backtime) {
		this.backtime = backtime;
	}

	public Date getUpdatetime() {
		return updatetime;
	}

	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}

	public String getMarque() {
		return marque;
	}

	public void setMarque(String marque) {
		this.marque = marque;
	}

	public Date getBuytime() {
		return buytime;
	}

	public void setBuytime(Date buytime) {
		this.buytime = buytime;
	}

	public String getDescrip() {
		return descrip;
	}

	public void setDescrip(String descrip) {
		this.descrip = descrip;
	}

	public Double getBackprice() {
		return backprice;
	}

	public void setBackprice(Double backprice) {
		this.backprice = backprice;
	}

	public String getImg_url() {
		return img_url;
	}

	public void setImg_url(String img_url) {
		this.img_url = img_url;
	}

	public Integer getStocknum() {
		return stocknum;
	}

	public void setStocknum(Integer stocknum) {
		this.stocknum = stocknum;
	}

	public Integer getBackstatus() {
		return backstatus;
	}

	public void setBackstatus(Integer backstatus) {
		this.backstatus = backstatus;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getBrandname() {
		return brandname;
	}

	public void setBrandname(String brandname) {
		this.brandname = brandname;
	}

	public String getClassifyname() {
		return classifyname;
	}

	public void setClassifyname(String classifyname) {
		this.classifyname = classifyname;
	}

	@Override
	public String toString() {
		return "BackItem [id=" + id + ", bname=" + bname + ", cid=" + cid + ", pid=" + pid + ", uid=" + uid + ", mid="
				+ mid + ", backtime=" + backtime + ", updatetime=" + updatetime + ", marque=" + marque + ", buytime="
				+ buytime + ", descrip=" + descrip + ", backprice=" + backprice + ", img_url=" + img_url + ", stocknum="
				+ stocknum + ", backstatus=" + backstatus + ", model=" + model + ", brandname=" + brandname
				+ ", classifyname=" + classifyname + "]";
	}
	
	
	

	

}
